package cn.me.fdfs.vo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * Created with IntelliJ IDEA. User: Administrator Date: 12-9-11 Time: 上午10:48 To change this
 * template use File | Settings | File Templates.
 */
@Entity
@Table(name = "tbdownloadfilerecord")
public class DownloadFileRecord {
  private String id;
  private String fileId;// 访问的fileId
  private long accessCount;// 被访问次数
  private String src_ip;// 所属机器的ip地址

  @Id
  @GeneratedValue(generator = "system_uuid")
  @GenericGenerator(name = "system_uuid", strategy = "uuid")
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getFileId() {
    return fileId;
  }

  public void setFileId(String fileId) {
    this.fileId = fileId;
  }

  public long getAccessCount() {
    return accessCount;
  }

  public void setAccessCount(long accessCount) {
    this.accessCount = accessCount;
  }

  public String getSrc_ip() {
    return src_ip;
  }

  public void setSrc_ip(String src_ip) {
    this.src_ip = src_ip;
  }
}
